package org.bjtu.hadooptest.controller;

import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {
    @RequestMapping(value = "/index")
    public String greeting(Model model) {
//        model.addAttribute("name","游客");
        return "hello";
    }
}
